package io.renren.service;

import io.renren.entity.TPurviewCustinfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 客户信息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-02-06 17:41:04
 */
public interface TPurviewCustinfoService {
	
	TPurviewCustinfoEntity queryObject(String id);
	
	List<TPurviewCustinfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TPurviewCustinfoEntity tPurviewCustinfo);
	
	void update(TPurviewCustinfoEntity tPurviewCustinfo);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);
	List<TPurviewCustinfoEntity> CustinfoList (); 
	
	TPurviewCustinfoEntity getinfoByUserName(String username);
}
